package com.example.back.jpa;

import com.example.common.entity.DoctorBaseInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.javers.spring.annotation.JaversSpringDataAuditable;

@JaversSpringDataAuditable
public interface DoctorBaseInfoRepository extends JpaRepository<DoctorBaseInfo,Long> {
    int countByPhone(String phone);

    int countByPhoneAndDisable(String phone,Boolean disable);
}
